//
//  WorksManagementVC.m
//  doubleEduStudents
//
//  Created by 盛洋 on 2021/1/29.
//  Copyright © 2021 shengYang. All rights reserved.
//

#import "WorksManagementVC.h"
#import "UpLoadVC.h"

@interface WorksManagementVC ()
@property (strong, nonatomic) IBOutlet UILabel *name_lab;
@property (strong, nonatomic) IBOutlet UILabel *level_lab;
@property (strong, nonatomic) IBOutlet UILabel *category_lab;

@property (strong, nonatomic) IBOutlet UIButton *upLoad_btn;
@end

@implementation WorksManagementVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"作品管理";
    APPViewBorderRadius(self.upLoad_btn, 5, 1, [UIColor clearColor]);
    self.name_lab.font = self.upLoad_btn.titleLabel.font = AutoLabFont2;
    self.level_lab.font = self.category_lab.font = AutoLabFont3;
    self.name_lab.text = [NSString stringWithFormat:@"课程名称:%@",_valueDic[@"courseName"]];
    self.level_lab.text = [NSString stringWithFormat:@"课程级别:%@",_valueDic[@"levelName"]];
    self.category_lab.text = [NSString stringWithFormat:@"课程类别:%@",_valueDic[@"categoryName"]];

    
}

//上传作品
- (IBAction)upLoad:(UIButton *)sender {
    UpLoadVC *vc = [[UpLoadVC alloc]init];
    vc.valueDic = self.valueDic;
    [self PushToViewController:vc];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
